package com.mvc.finance.model;

import javax.persistence.Entity;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;

import com.mvc.framework.model.CommonAuditableEntity;

@Entity(name = "B_BANK_STATEMENT_CHARGE")
public class BankStatementCharge extends CommonAuditableEntity {
	
	public static final int	TYPE_FEE	= 1;
	public static final int	TYPE_DEBIT	= 2;

	@NotNull
	private Integer bankStatementId;
	@NotNull
	private Integer type;
	@NotNull
	@Length(max = 64)
	private String	reason;
	@NotNull
	private Double	amount;

	public Integer getBankStatementId() {
		return bankStatementId;
	}

	public void setBankStatementId(Integer bankStatementId) {
		this.bankStatementId = bankStatementId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

}
